home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Examples
/
First Tutorial
/
Session 2
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
627b
|
35 lines
(setq symbols '(a b c d e f g))
(def-symbol
instr1 symbols
instr2 symbols
instr3 symbols
instr4 symbols
)
(def-length
default '1/16
)
(def-channel
instr1 1
instr2 2
instr3 3
instr4 4
)
(setq tonals (activate-tonality (blues1 c 4) (chromatic c 6)))
(midiport :printer)
(def-tempo 120)
(compile-song-p "ccl;output:" 1/4 "Session 2"
; |---|---|---|---|
changes tonals " .... .. ..."
instr1 changes "- - -- - --- --"
instr2 changes " - -- -- -- ---"
instr3 changes " - -- -- -- -"
instr4 changes " - -- -----"
)